package app.domain;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonFormat;;

public class UserInfo{
   private int accountId;
   private String accountName;
   private String password;
   private String name;
   private String phone;
   private String address;
   private String imgPath;
   
   private String skill;
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
   private Timestamp createTime;
   
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
   private Timestamp updateTime;
   private int role;
   
   private int sex;
   private int status;
   
   public UserInfo(){}
   
public int getAccountId() {
	return accountId;
}
public void setAccountId(int accountId) {
	this.accountId = accountId;
}
public String getAccountName() {
	return accountName;
}
public void setAccountName(String accountName) {
	this.accountName = accountName;
}
public String getPassword() {
	return password;
}
public void setPassword(String password) {
	this.password = password;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public String getPhone() {
	return phone;
}
public void setPhone(String phone) {
	this.phone = phone;
}
public String getAddress() {
	return address;
}
public void setAddress(String address) {
	this.address = address;
}
public String getImgPath() {
	return imgPath;
}
public void setImgPath(String imgPath) {
	this.imgPath = imgPath;
}
public Timestamp getCreateTime() {
	return createTime;
}
public void setCreateTime(Timestamp createTime) {
	this.createTime = createTime;
}
public Timestamp getUpdateTime() {
	return updateTime;
}
public void setUpdateTime(Timestamp updateTime) {
	this.updateTime = updateTime;
}
public int getRole() {
	return role;
}
public void setRole(int role) {
	this.role = role;
}
public int getStatus() {
	return status;
}
public void setStatus(int status) {
	this.status = status;
}
public int getSex() {
	return sex;
}
public void setSex(int sex) {
	this.sex = sex;
}

public String getSkill() {
	return skill;
}

public void setSkill(String skill) {
	this.skill = skill;
}

@Override
public String toString() {
	return "UserInfo [accountId=" + accountId + ", accountName=" + accountName + ", password=" + password + ", name="
			+ name + ", phone=" + phone + ", address=" + address + ", imgPath=" + imgPath + ", skill=" + skill
			+ ", createTime=" + createTime + ", updateTime=" + updateTime + ", role=" + role + ", sex=" + sex
			+ ", status=" + status + "]";
}

   
   
}
